package com.villaday.idf.adapter3;

import android.content.Context;

import com.villaday.idf.R;
import com.villaday.idf.base.AbsRecyclerViewAdapter;
import com.villaday.idf.model3.DataEntity;

public class OrderDeatailsPopuAdapter extends AbsRecyclerViewAdapter<DataEntity> {

    public OrderDeatailsPopuAdapter(Context context) {
        super(context, R.layout.popur_order_details);
    }

    @Override
    public void onBindHolder(AbsRecyclerViewAdapter.RecyclerViewHolder holder, DataEntity d, int position) {
        holder.bindTextView(R.id.tv_popup_title, d.getTitle())
                .bindTextView(R.id.tv_popup_content, d.getContent());
    }
}
